import 'package:im_base/public/global/global.dart';

class MenuData {
  String title;
  String icon;
  MenuType type;

  MenuData({required this.title, required this.icon, required this.type});
}

///暂时禁用文件
List<MenuData> menuList = [
  MenuData(
      title: '相册',
      icon: '${Global.IMAGE_PATH}ic_more_picture.png',
      type: MenuType.PHOTO_ALBUM),
  MenuData(
      title: '拍照',
      icon: '${Global.IMAGE_PATH}ic_more_camera.png',
      type: MenuType.TAKE_PHOTO),
  MenuData(
      title: '视频',
      icon: '${Global.IMAGE_PATH}ic_more_video.png',
      type: MenuType.TAKE_VIDEO),
  // MenuData(title: '文件', icon: '${Global.IMAGE_PATH}ic_more_file.png', type: MenuType.TAKE_FILE),
];

enum MenuType { PHOTO_ALBUM, TAKE_PHOTO, TAKE_VIDEO, TAKE_FILE, CUSTOM }
